package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName ArticleUserScore
 * @Description TODO
 * @Author Neo
 * @Date 2024/3/10 14:51
 * @Version 1.0
 */
@Data
@TableName("article_user_score")
public class ArticleUserScore {
    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 文章id
     */
    private Long articleId;

    private Integer score;
}
